package com.xbibo.autoconfigure.dal.redis.dao;

import java.io.Serializable;

import com.xbibo.autoconfigure.dal.redis.support.RedisEntityLoader;

/**
 * 类/接口注释
 *
 * @author jiangnan.zjn@alibaba-inc.com
 * @createDate 2017/9/23
 */
public interface BaseHashRedisDao<T, ID extends Serializable> {

    T findById(ID id, RedisEntityLoader<T, ID> loader);

    T save(T t);

}
